#include "eap.h"
#include "interface-pcap.h"

int main(int argc, char** argv)
{
    uchar loc_mac[6] = {0x00, 0xf1 , 0xf3, 0x02, 0xef, 0xbe};
    uchar loc_ip[4] = {0xac, 0x10, 0x49, 0x9d};
    char* username = "20119224";
    char* password = "111111";

    handle_req_http_digest(0,0);
    global_init(loc_mac, loc_ip, "eth0", username, password);

    send_start();

    begin_capture();

//    keep_alive();

    send_logoff();
    end_capture();
    return 0;
}

